package scsc.pub.data;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;


/** 
 *        @hibernate.class
 *         table="FireControlSlip"
 *         schema="scsc"
 *         dynamic-update="true"
 *         dynamic-insert="true"
 *     
*/
public class FireControlSlip implements Serializable {

    /** identifier field */
    private Integer slipId;

    /** nullable persistent field */
    private String slipName;

    /** nullable persistent field */
    private String slipPlace;

    /** nullable persistent field */
    private String slipDate;

    /** nullable persistent field */
    private String dutyPerson;

    /** nullable persistent field */
    private String slipCause;

    /** nullable persistent field */
    private String disposeCircs;

    /** persistent field */
    private String userId;

    /** nullable persistent field */
    private String latestDate;

    /** nullable persistent field */
    private String remark;

    /** full constructor */
    public FireControlSlip(String slipName, String slipPlace, String slipDate, String dutyPerson, String slipCause, String disposeCircs, String userId, String latestDate, String remark) {
        this.slipName = slipName;
        this.slipPlace = slipPlace;
        this.slipDate = slipDate;
        this.dutyPerson = dutyPerson;
        this.slipCause = slipCause;
        this.disposeCircs = disposeCircs;
        this.userId = userId;
        this.latestDate = latestDate;
        this.remark = remark;
    }

    /** default constructor */
    public FireControlSlip() {
    }

    /** minimal constructor */
    public FireControlSlip(String userId) {
        this.userId = userId;
    }

    /** 
     *            @hibernate.id
     *             generator-class="identity"
     *             type="java.lang.Integer"
     *             column="SlipId"
     *             unsaved-value="0"
     *         
     */
    public Integer getSlipId() {
        return this.slipId;
    }

    public void setSlipId(Integer slipId) {
        this.slipId = slipId;
    }

    /** 
     *            @hibernate.property
     *             column="SlipName"
     *             length="100"
     *         
     */
    public String getSlipName() {
        return this.slipName;
    }

    public void setSlipName(String slipName) {
        this.slipName = slipName;
    }

    /** 
     *            @hibernate.property
     *             column="SlipPlace"
     *             length="100"
     *         
     */
    public String getSlipPlace() {
        return this.slipPlace;
    }

    public void setSlipPlace(String slipPlace) {
        this.slipPlace = slipPlace;
    }

    /** 
     *            @hibernate.property
     *             column="SlipDate"
     *             length="23"
     *         
     */
    public String getSlipDate() {
        return this.slipDate;
    }

    public void setSlipDate(String slipDate) {
        this.slipDate = slipDate;
    }

    /** 
     *            @hibernate.property
     *             column="DutyPerson"
     *             length="20"
     *         
     */
    public String getDutyPerson() {
        return this.dutyPerson;
    }

    public void setDutyPerson(String dutyPerson) {
        this.dutyPerson = dutyPerson;
    }

    /** 
     *            @hibernate.property
     *             column="SlipCause"
     *             length="2147483647"
     *         
     */
    public String getSlipCause() {
        return this.slipCause;
    }

    public void setSlipCause(String slipCause) {
        this.slipCause = slipCause;
    }

    /** 
     *            @hibernate.property
     *             column="DisposeCircs"
     *             length="2147483647"
     *         
     */
    public String getDisposeCircs() {
        return this.disposeCircs;
    }

    public void setDisposeCircs(String disposeCircs) {
        this.disposeCircs = disposeCircs;
    }

    /** 
     *            @hibernate.property
     *             column="UserId"
     *             length="7"
     *             not-null="true"
     *         
     */
    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    /** 
     *            @hibernate.property
     *             column="LatestDate"
     *             length="23"
     *         
     */
    public String getLatestDate() {
        return this.latestDate;
    }

    public void setLatestDate(String latestDate) {
        this.latestDate = latestDate;
    }

    /** 
     *            @hibernate.property
     *             column="Remark"
     *             length="100"
     *         
     */
    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("slipId", getSlipId())
            .toString();
    }

}
